home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / archvrs / msdos / cppb / cppb.arc / CPPB.DOC < prev    next >
Encoding:
Text File  |  1990-02-17  |  2.9 KB  |  84 lines

  1. SHAREWARE C++ UTILITIES
  2.  
  3. Two utilities for C++ programmers are included in this package. These
  4. are:
  5.  
  6. 1) A C++ Reformatter which will take a C++ source file and reformat it.
  7. This includes putting in an appropriate indentation.
  8.  
  9. 2) A Class Analyser. This will read a C++ source file and display the
  10. hierarchy of classes as a tree.
  11.  
  12. This is shareware software, so please use and distribute these programs
  13. but please register your copies if you use them for a commercial purpose.
  14.  
  15. ____________________________________________________________________
  16.  
  17. [A Shareware C++ Reformatter 1.0 - Copyright 1989 Wessex Data Systems, Inc.]
  18.  
  19. This utility can be used to reformat C++ source files.
  20.  
  21. Format:   cppb [- | filename] [-in] [-tn] [-b] [-x]
  22.  
  23.    -    is used when input is from standard input
  24.  
  25.    -in  is used to change the indentation value. It defaults to 4.
  26.         e.g. -i8 for indentation of 8 per block
  27.  
  28.    -tn  to insert tab characters. n is optional and represents character
  29.         positions represented by a single tab character. defaults to 8.
  30.     Normally tab characters are not used.
  31.  
  32.    -c   do not indent comments starting in column 1.
  33.  
  34.    -l   do not put new line before left brace (with -b option)
  35.  
  36.    -b   ignore current formatting - reformat completely
  37.  
  38.    -x   remove all formatting and comments
  39.  
  40. Output is to standard output. Output filename must NOT be the same as the
  41. input filename. Always keep a backup copy of source files.
  42.  
  43. Example:
  44.  
  45.     cppb source.cpp > source.new
  46.  
  47. This command will take the source c++ file source.cpp and create a formatted
  48. copy with the name source.new.
  49.  
  50. ____________________________________________________________________
  51.  
  52. The C++ Class Analyser 1.0
  53.  
  54. This reads a C++ source file and displays the classes as a tree.
  55. It will read include files (not system files) to determine the classes.
  56. An example C++ file is provided with the program as an example of possible
  57. C++ classes.
  58.  
  59. To run the example type the following command:
  60.  
  61.     class sample.cpp
  62.  
  63. The update disk will contain a version of class which will also display 
  64. system files.
  65.  
  66. ____________________________________________________________________
  67.  
  68.  
  69. Designed to conform with release 1.2 of C++. Unauthorized Use, Copying or
  70. Distribution is prohibited. Program may be distributed freely, provided
  71. only nominal fee is charged. All commercial users should register use after a
  72. trial period. To register use please send $10, or for an update disk $16.
  73. Both programs are included in the single fee.
  74.  
  75. WESSEX DATA SYSTEMS SPECIFICALLY DISCLAIMS ANY WARRANTY, EITHER
  76. EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
  77. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR USE.
  78.  
  79. IN NO EVENT SHALL WESSEX DATA SYSTEMS BE LIABLE FOR ANY SPECIAL,
  80. CONSEQUENTIAL, OR OTHER DAMAGES INCLUDING LOSS OF PROFIT ARISING OUT OF
  81. THE USE OF THIS PROGRAM.
  82.  
  83. Wessex Data Systems, Inc., PO Box 94, Hazlet, NJ 07730
  84.